-
Couldn't load subscription status.
- Fork 22
[Fix] multiple git remotes (CF-677) #542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Tested this with two remotes:
originandfork.originpoints to this repository, whileforkrefers to this fork.By setting the
git-remotearg tofork, it raised this PR within the forked repository.PR Type
Enhancement, Tests
Description
Introduce configurable git_remote parameter
Update CLI to pass git_remote arg
Adjust PR creation to use git_remote
Revise tests for git_remote support
Changes walkthrough 📝
cli.py
Include git_remote in CLI branch checkcodeflash/cli_cmds/cli.py
args.git_remotetocheck_and_push_branchgit_utils.py
Make push remote configurable via git_remotecodeflash/code_utils/git_utils.py
git_remoteparameter to function signatureoriginwithgit_remotegit_remotecreate_pr.py
Use git_remote uniformly in PR creationcodeflash/result/create_pr.py
git_remotetoget_repo_owner_and_namegit_remoteincheck_and_push_branchcallgit_remotetest_git_utils.py
Update tests for git_remote parametertests/test_git_utils.py
git_remoteargument to tests